package com.h3bpm.web.service;

import OThinker.H3.Entity.Instance.Data.InstanceData;
import org.springframework.transaction.annotation.Transactional;

import java.beans.Transient;

public interface OutsourceService {

    boolean updateExecutableTrue (String objectId);

    boolean updateExecutableFalse (String objectId);

    Object processOutValid (String objectId) throws Exception;

    Object updateProcessIn(String objectId);

    Object settleDataWriteBack(String objectId);

    @Transactional
    boolean processInDetails(String objectId,String outsourceTitle,String partnerUnit,String applicationUnitId);

    @Transactional
    boolean monthlySettlementDetails(String objectId,String partnerUnit, String applicationUnitId);

    boolean processInCleanUp(String objectId);

    boolean monthlySettlementCleanUp(String objectId);
}
